﻿using FytSoa.Domain.Core.Result;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FytSoa.Application.Sys
{
    /// <summary>
    /// 系统安全配置
    /// </summary>
    public interface ISysSafetyService : IApplicationService
    {
        /// <summary>
        /// 保存
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        ApiResult<bool> Add(SafetySetting model);

        /// <summary>
        /// 查询
        /// </summary>
        /// <returns></returns>
        ApiResult<SafetySetting> Get();
    }
}
